﻿<%@ Page Title="" Language="C#" MasterPageFile="~/main.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="Presentation.Pages.Login" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 63px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <h1>
        Entre com o seu usuário e senha
    </h1>
    <br />
    <br />
    <table>
        <tr>
            <td class="style1">
                <asp:Label ID="Label2" runat="server" Text="Usuário :" ></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtEmail" runat="server" Width="231px" BorderColor="#0099FF" 
                    BorderStyle="Solid" BorderWidth="1" MaxLength="50"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvEmail" runat="server" Display="Dynamic" ControlToValidate="txtEmail"
                    ErrorMessage="Email." ToolTip="Campo Obrigatório." ValidationGroup="Logar">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style1">
                <asp:Label ID="Label1" runat="server" Text="Senha :" ></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtSenha" runat="server" Width="231px" BorderColor="#0099FF" MaxLength="50"
                    BorderStyle="Solid" BorderWidth="1" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvSenha" runat="server" Display="Dynamic" ControlToValidate="txtSenha"
                    ErrorMessage="Senha." ToolTip="Campo Obrigatório." ValidationGroup="Logar">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td colspan="2" align="right">
                <asp:Button ID="btnLogar" runat="server" Text="Logar" 
                    ValidationGroup="Logar" onclick="btnLogar_Click"  />
                <asp:ValidationSummary ID="vSum" runat="server" HeaderText="Favor verificar os seguintes campos :" ShowMessageBox="True" ShowSummary="False" ValidationGroup="Logar" />
            </td>
        </tr>
    </table>

</asp:Content>
